﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SvgCore.Core
{
        
    
   public class Property
    {
        public string Key;
        object value;

        bool hasValue = false;

        public bool HasValue()
        {
            return hasValue;
        }

        public void ClearValue()
        {
            value = null;
            hasValue = false;
        }


        public virtual void SetValue(object value)
        {
            this.value = value;
            hasValue = true;
        }


        public virtual string GetValue()
        {
            return hasValue ? value?.ToString() : null;
        }
    }

    public class IntProperty: Property
    { 

    }

}
